From a0c6d077f2b23b93563a5837c1a8eb7cb2d39524 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Sat, 14 Aug 2010 19:21:40 -0400 Subject: [PATCH] * simple.el (kill-region): Doc fix (Bug#6787). --- lisp/ChangeLog | 4 ++++ lisp/simple.el | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4e816c16783..1f365ed53f4 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2010-08-14 Chong Yidong + + * simple.el (kill-region): Doc fix (Bug#6787). + 2010-08-14 Glenn Morris * calendar/diary-lib.el (diary-header-line-format): diff --git a/lisp/simple.el b/lisp/simple.el index d0c27656e41..9b38f3cdbf3 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -2959,7 +2959,8 @@ If the buffer is read-only, Emacs will beep and refrain from deleting the text, but put the text in the kill ring anyway. This means that you can use the killing commands to copy text from a read-only buffer. -This is the primitive for programs to kill text (as opposed to deleting it). +Lisp programs should use this function for killing text. + (To delete text, use `delete-region'.) Supply two arguments, character positions indicating the stretch of text to be killed. Any command that calls this function is a \"kill command\". -- 2.30.2